import styled from "styled-components";

const HeaderRightWrapper = styled.div`
  flex: 1;
  display: flex;
  justify-content: flex-end;
  color: ${(props) => props.theme.text.primaryColor};
  font-weight: bold;
  font-size: 12px;
  padding-right: 30px;
  .btns {
    display: flex;
    align-items: center;
    .btn {
      cursor: pointer;
      margin-left: 20px;
    }
  }

  .profile {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 30px;
    border: 1px solid #dddddd;
    border-radius: 30px;
    padding: 2px 10px;
    .btn {
      cursor: pointer;
    }
    .iconAvatar {
      margin-left: 10px;
    }
    /* 动画 */
    ${(props) => props.theme.mixin.boxShadow}

    .pannel {
      position: absolute;
      border: 1px solid #eee;
      width: 240px;
      top: 60px;
      right: 0px;
      border-radius: 10px;
      background-color: #fff;
      .top,
      .bottom {
        .item {
          font-weight: normal;
          height: 30px;
          line-height: 30px;
          padding-left: 10px;
          cursor: pointer;
        }
        .item:hover {
          background-color: #eee;
        }
      }
    }
  }
`;
export default HeaderRightWrapper;
